<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
    crossorigin="anonymous">
    <title>Document</title>
    <style>
        *{
            margin:0;
            padding:0;
            list-style: none;
        }
        .wrap-email{
            width:55%;
            margin:0 auto;
        }
        @media screen and (max-width: 768px) {
            .wrap-email{
                width:100%;
            }
            .order-price ul {
                padding: 10px 0;
                /* width: 58.7%!important; */
            }
        }
        .top-email{
            padding:21px 30px;
            background: #F2F2F2;
            width: 100%;
        }
        .top-email .top-left{
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size:14px;
        }
        .top-email .top-right{
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size:14px;
        }
        .top-right span:nth-child(1){
            font-weight: bold;
        }
        .top-right span:nth-child(2){
            color:#549EF3;
        }
        .bottom-email{
            padding:30px 0;
            width: 100%;
        }
        .title-logo{
            font-size:18px;
            color:#CA2D2E;
            font-weight: bold;
            margin-bottom:20px;
        }
        .title-name{
            color:#90521D;
            font-weight: bold;
            font-size:18px;
            margin-bottom: 9px;
        }
        .about-text{
            font-size:14px;
        }
        .order-link{
            color:#549EF3;
            font-size:14px;
            margin-bottom:10px;
        }
        .order-title{
            color:#333;
            font-size:15px;
            font-weight: bold;
            margin-bottom: 10px;
        }
        .about-order{

            height: 279px;
            background: #f7f7f7;
        }
        .order-time{
            padding:0 20px;
            height: 74px;
            border-bottom:1px solid #fff;
        }
        .order-time ul{
            padding:10px 0;
        }
        .order-time ul li{
            font-size: 13px;
            color:#333;
            line-height: 18px;
            list-style: none;
        }
        .order-time ul li:nth-child(1) span:nth-child(2){
            color:#549EF3;
            word-wrap: break-word;
            display: inline-block;
            width: 63%;
        }
        .order-time ul li span:nth-child(1){
            display: inline-block;
            width:80px;
        }
        .order-time ul li span:nth-child(2){
            margin-left: 3.8%;
        }
        .order-basic{
            padding:0 20px;
            height: 110px;
            border-bottom:1px solid #fff;
        }
        .order-basic dl{
            padding:10px 0;
        }
        .order-basic dl dt{
            width:90px;
            height: 90px;
            border-radius: 3px;
            float: left;
        }
        .order-basic dl dt img{
            width:100%;
            height: 100%;
            border-radius: 3px;
        }
        .order-basic dl dd{
            padding-left:100px;
        }
        .order-basic dl dd p:nth-child(1){
            font-size: 14px;
            color: #549EF3;
            line-height: 21px;
            overflow : hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
        .order-basic dl dd p:nth-child(2){
            font-size: 12px;
            color: #666;
            line-height: 17px;
            margin-bottom:10px;
        }
        .order-basic dl dd p:nth-child(3){
            font-size: 14px;
            color: #111;
            line-height: 20px;
            font-weight: bold;
        }
        .order-price{
            padding:0 20px;
            height: 93px;
        }
        .order-price ul{
            padding:10px 0;
            /* width: 47.7%; */
            width: 100%;
            float:right;
            text-align: right;
        }
        .order-price ul li{
            font-size: 14px;
            color:#111;
            line-height: 21px;
            width:100%;
            list-style: none;
        }
        .order-price ul li:nth-child(2){
            margin:5px 0;
        }
        .order-price ul li:nth-child(3){
            font-weight: bold;
        }
        .order-price ul li span:nth-child(1){
            display: inline-block;
            width:120px;
            margin-right:28.8%;
            text-align: right;
        }
        .order-price ul li span:nth-child(2){
            /* margin-left: 21.8%; */
        }
        .warn-text{
            margin-top:11px;
            color:#CA2D2E;
            font-size: 12px;
            line-height: 17px;
            margin-bottom: 20px;
        }
        .finish-text ul li{
            color:#111;
            line-height: 18px;
            font-size: 13px;
            list-style: none;
        }
        .finish-text ul li:nth-child(1){
            font-size: 14px;
            line-height: 20px;
        }
        .finish-text ul li:nth-child(2){
            margin:10px 0;
        }
        .finish-text ul li:nth-child(2) span{
            color:#549EF3;
        }
    </style>
</head>
<body>
    <div>
            <div class="container">

                    <div class="bottom-email">
                        <div class="title-logo" style="height: 40px;width: 40px;"><img style="height: 100%;" src="http://images.allwees.com/product/logo.png" alt=""></div>
                        <div class="title-name">Dear ${firstName}</div>
                        <div class="about-text">${message}</div>
                        <div class="order-link"><a href="${orderDetailsURL}" target="_blank">Check the order details</a> </div>
                        <div class="order-title">Order detail</div>
                        <div class="about-order">
                            <div class="order-time">
                                <ul>
                                    <li><span>Order #</span><span>${orderUuid}</span></li>
                                    <li><span>Order Placed</span><span>${orderCreatedAt}</span></li>
                                    <#if orderPaymentAt??>
										<li><span>Payment At</span><span>${orderPaymentAt}</span></li>
									</#if>
                                </ul>
                            </div>
                            <div class="order-basic">
                                <dl>
                                    <dt><img src="${productPhoto}" alt=""></dt>
                                    <dd>
                                        <p class="item-goods-name f-15">${productName}</p>
                                        <p class="item-goods-size f-13">
                                            <#if color??>
                                                <span>${color} </span>
                                            </#if>
                                            <#if size??>
                                                <span>${size} </span>
                                            </#if>
                                        </p>

                                        <p class="item-goods-price f-13">$${price}*${sum}</p>
                                    </dd>
                                </dl>
                            </div>
                            <div class="order-price">
                                <ul>
                                    <li><span>Goods price</span><span>$${price}</span></li>
                                    <li><span>Estimated Shipping</span><span>$${amtShipping}</span></li>
                                    <li><span>Order Total</span><span>$${amt}</span></li>
                                </ul>
                            </div>
                        </div>
                        <div class="warn-text">
                            Please be aware that we would never request you to repay for any reason. If you should find any account exception, please contact us immediately support@allwees.com.
                        </div>
                        <div class="finish-text">
                            <ul>
                                <li>Hint: please understand that the ordered items may not be delivered due to out of stock in some cases, even the delivery time is estimated for the order</li>
                                <li>Please click here to review the <a href="https://mobile.allwees.com/returnPolicy">return policy</a></li>
                                <li>Looking forward to your visit again!</li>
                            </ul>
                        </div>
                    </div>
                </div>
    </div>
</body>
</html>